package com.hsmw.api.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.domain.HsmwConcreteInfo;
import com.hsmw.domain.HsmwConstructionPosition;
import com.hsmw.domain.HsmwForcemanAddress;
import com.hsmw.domain.HsmwVolumeRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderUpdateVO {

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "需求编号")
    private String requestId;

    @ApiModelProperty(value = "子订单编号")
    private String relationId;

    @ApiModelProperty(value = "子订单状态")
    private String requestStatus;

    @ApiModelProperty(value = "子 订单状态 下单成功、进行中、已完成、审核中、已结束、已取消")
    private String orderStatus;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "到达时间")
    private LocalDateTime reachTime;

    @ApiModelProperty(value = "施工部位信息")
    @TableField(exist = false)
    private List<HsmwConstructionPosition> hsmwConstructionPositionList;


}
